package com.sofly.dao.group1;

import java.util.List;

import com.sofly.entity.User;

public interface IUserDao {
    int deleteUser(Long userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long userid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<User> getAlluser();
    
    User getUserByName(String name);
    
    List<String> getNameList();

	String getRole(String username);
}